U11(tt, N, X, XS) → U12(splitAt(activate(N), activate(XS)), activate(X))
U12(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
afterNth(N, XS) → snd(splitAt(N, XS))
and(tt, X) → activate(X)
fst(pair(X, Y)) → X
head(cons(N, XS)) → N
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → head(afterNth(N, XS))
snd(pair(X, Y)) → Y
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U11(tt, N, X, activate(XS))
tail(cons(N, XS)) → activate(XS)
take(N, XS) → fst(splitAt(N, XS))
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
U11(tt, N, X, XS) → U12(splitAt(activate(N), activate(XS)), activate(X))
U12(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
afterNth(N, XS) → snd(splitAt(N, XS))
and(tt, X) → activate(X)
fst(pair(X, Y)) → X
head(cons(N, XS)) → N
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → head(afterNth(N, XS))
snd(pair(X, Y)) → Y
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U11(tt, N, X, activate(XS))
tail(cons(N, XS)) → activate(XS)
take(N, XS) → fst(splitAt(N, XS))
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
U111(tt, N, X, XS) → ACTIVATE(XS)
AFTERNTH(N, XS) → SPLITAT(N, XS)
U111(tt, N, X, XS) → ACTIVATE(N)
SEL(N, XS) → AFTERNTH(N, XS)
SPLITAT(s(N), cons(X, XS)) → U111(tt, N, X, activate(XS))
ACTIVATE(n__natsFrom(X)) → NATSFROM(X)
SPLITAT(s(N), cons(X, XS)) → ACTIVATE(XS)
U111(tt, N, X, XS) → SPLITAT(activate(N), activate(XS))
AND(tt, X) → ACTIVATE(X)
TAKE(N, XS) → SPLITAT(N, XS)
U111(tt, N, X, XS) → ACTIVATE(X)
U121(pair(YS, ZS), X) → ACTIVATE(X)
AFTERNTH(N, XS) → SND(splitAt(N, XS))
U111(tt, N, X, XS) → U121(splitAt(activate(N), activate(XS)), activate(X))
TAKE(N, XS) → FST(splitAt(N, XS))
TAIL(cons(N, XS)) → ACTIVATE(XS)
SEL(N, XS) → HEAD(afterNth(N, XS))
U11(tt, N, X, XS) → U12(splitAt(activate(N), activate(XS)), activate(X))
U12(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
afterNth(N, XS) → snd(splitAt(N, XS))
and(tt, X) → activate(X)
fst(pair(X, Y)) → X
head(cons(N, XS)) → N
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → head(afterNth(N, XS))
snd(pair(X, Y)) → Y
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U11(tt, N, X, activate(XS))
tail(cons(N, XS)) → activate(XS)
take(N, XS) → fst(splitAt(N, XS))
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
U111(tt, N, X, XS) → ACTIVATE(XS)
AFTERNTH(N, XS) → SPLITAT(N, XS)
U111(tt, N, X, XS) → ACTIVATE(N)
SEL(N, XS) → AFTERNTH(N, XS)
SPLITAT(s(N), cons(X, XS)) → U111(tt, N, X, activate(XS))
ACTIVATE(n__natsFrom(X)) → NATSFROM(X)
SPLITAT(s(N), cons(X, XS)) → ACTIVATE(XS)
U111(tt, N, X, XS) → SPLITAT(activate(N), activate(XS))
AND(tt, X) → ACTIVATE(X)
TAKE(N, XS) → SPLITAT(N, XS)
U111(tt, N, X, XS) → ACTIVATE(X)
U121(pair(YS, ZS), X) → ACTIVATE(X)
AFTERNTH(N, XS) → SND(splitAt(N, XS))
U111(tt, N, X, XS) → U121(splitAt(activate(N), activate(XS)), activate(X))
TAKE(N, XS) → FST(splitAt(N, XS))
TAIL(cons(N, XS)) → ACTIVATE(XS)
SEL(N, XS) → HEAD(afterNth(N, XS))
U11(tt, N, X, XS) → U12(splitAt(activate(N), activate(XS)), activate(X))
U12(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
afterNth(N, XS) → snd(splitAt(N, XS))
and(tt, X) → activate(X)
fst(pair(X, Y)) → X
head(cons(N, XS)) → N
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → head(afterNth(N, XS))
snd(pair(X, Y)) → Y
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U11(tt, N, X, activate(XS))
tail(cons(N, XS)) → activate(XS)
take(N, XS) → fst(splitAt(N, XS))
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
SPLITAT(s(N), cons(X, XS)) → U111(tt, N, X, activate(XS))
U111(tt, N, X, XS) → SPLITAT(activate(N), activate(XS))
U11(tt, N, X, XS) → U12(splitAt(activate(N), activate(XS)), activate(X))
U12(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
afterNth(N, XS) → snd(splitAt(N, XS))
and(tt, X) → activate(X)
fst(pair(X, Y)) → X
head(cons(N, XS)) → N
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → head(afterNth(N, XS))
snd(pair(X, Y)) → Y
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U11(tt, N, X, activate(XS))
tail(cons(N, XS)) → activate(XS)
take(N, XS) → fst(splitAt(N, XS))
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
U111(tt, n__natsFrom(x0), y1, y2) → SPLITAT(natsFrom(x0), activate(y2))
U111(tt, x0, y1, y2) → SPLITAT(x0, activate(y2))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
U111(tt, x0, y1, y2) → SPLITAT(x0, activate(y2))
SPLITAT(s(N), cons(X, XS)) → U111(tt, N, X, activate(XS))
U111(tt, n__natsFrom(x0), y1, y2) → SPLITAT(natsFrom(x0), activate(y2))
U11(tt, N, X, XS) → U12(splitAt(activate(N), activate(XS)), activate(X))
U12(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
afterNth(N, XS) → snd(splitAt(N, XS))
and(tt, X) → activate(X)
fst(pair(X, Y)) → X
head(cons(N, XS)) → N
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → head(afterNth(N, XS))
snd(pair(X, Y)) → Y
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U11(tt, N, X, activate(XS))
tail(cons(N, XS)) → activate(XS)
take(N, XS) → fst(splitAt(N, XS))
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
U111(tt, n__natsFrom(x0), y1, y2) → SPLITAT(n__natsFrom(x0), activate(y2))
U111(tt, n__natsFrom(x0), y1, y2) → SPLITAT(cons(x0, n__natsFrom(s(x0))), activate(y2))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
U111(tt, n__natsFrom(x0), y1, y2) → SPLITAT(n__natsFrom(x0), activate(y2))
U111(tt, x0, y1, y2) → SPLITAT(x0, activate(y2))
SPLITAT(s(N), cons(X, XS)) → U111(tt, N, X, activate(XS))
U111(tt, n__natsFrom(x0), y1, y2) → SPLITAT(cons(x0, n__natsFrom(s(x0))), activate(y2))
U11(tt, N, X, XS) → U12(splitAt(activate(N), activate(XS)), activate(X))
U12(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
afterNth(N, XS) → snd(splitAt(N, XS))
and(tt, X) → activate(X)
fst(pair(X, Y)) → X
head(cons(N, XS)) → N
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → head(afterNth(N, XS))
snd(pair(X, Y)) → Y
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U11(tt, N, X, activate(XS))
tail(cons(N, XS)) → activate(XS)
take(N, XS) → fst(splitAt(N, XS))
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
U111(tt, x0, y1, y2) → SPLITAT(x0, activate(y2))
SPLITAT(s(N), cons(X, XS)) → U111(tt, N, X, activate(XS))
U11(tt, N, X, XS) → U12(splitAt(activate(N), activate(XS)), activate(X))
U12(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
afterNth(N, XS) → snd(splitAt(N, XS))
and(tt, X) → activate(X)
fst(pair(X, Y)) → X
head(cons(N, XS)) → N
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → head(afterNth(N, XS))
snd(pair(X, Y)) → Y
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U11(tt, N, X, activate(XS))
tail(cons(N, XS)) → activate(XS)
take(N, XS) → fst(splitAt(N, XS))
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
U111(tt, y0, y1, n__natsFrom(x0)) → SPLITAT(y0, natsFrom(x0))
U111(tt, y0, y1, x0) → SPLITAT(y0, x0)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
SPLITAT(s(N), cons(X, XS)) → U111(tt, N, X, activate(XS))
U111(tt, y0, y1, n__natsFrom(x0)) → SPLITAT(y0, natsFrom(x0))
U111(tt, y0, y1, x0) → SPLITAT(y0, x0)
U11(tt, N, X, XS) → U12(splitAt(activate(N), activate(XS)), activate(X))
U12(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
afterNth(N, XS) → snd(splitAt(N, XS))
and(tt, X) → activate(X)
fst(pair(X, Y)) → X
head(cons(N, XS)) → N
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → head(afterNth(N, XS))
snd(pair(X, Y)) → Y
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U11(tt, N, X, activate(XS))
tail(cons(N, XS)) → activate(XS)
take(N, XS) → fst(splitAt(N, XS))
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
U111(tt, y0, y1, n__natsFrom(x0)) → SPLITAT(y0, n__natsFrom(x0))
U111(tt, y0, y1, n__natsFrom(x0)) → SPLITAT(y0, cons(x0, n__natsFrom(s(x0))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
SPLITAT(s(N), cons(X, XS)) → U111(tt, N, X, activate(XS))
U111(tt, y0, y1, n__natsFrom(x0)) → SPLITAT(y0, cons(x0, n__natsFrom(s(x0))))
U111(tt, y0, y1, x0) → SPLITAT(y0, x0)
U111(tt, y0, y1, n__natsFrom(x0)) → SPLITAT(y0, n__natsFrom(x0))
U11(tt, N, X, XS) → U12(splitAt(activate(N), activate(XS)), activate(X))
U12(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
afterNth(N, XS) → snd(splitAt(N, XS))
and(tt, X) → activate(X)
fst(pair(X, Y)) → X
head(cons(N, XS)) → N
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → head(afterNth(N, XS))
snd(pair(X, Y)) → Y
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U11(tt, N, X, activate(XS))
tail(cons(N, XS)) → activate(XS)
take(N, XS) → fst(splitAt(N, XS))
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPSizeChangeProof
SPLITAT(s(N), cons(X, XS)) → U111(tt, N, X, activate(XS))
U111(tt, y0, y1, n__natsFrom(x0)) → SPLITAT(y0, cons(x0, n__natsFrom(s(x0))))
U111(tt, y0, y1, x0) → SPLITAT(y0, x0)
U11(tt, N, X, XS) → U12(splitAt(activate(N), activate(XS)), activate(X))
U12(pair(YS, ZS), X) → pair(cons(activate(X), YS), ZS)
afterNth(N, XS) → snd(splitAt(N, XS))
and(tt, X) → activate(X)
fst(pair(X, Y)) → X
head(cons(N, XS)) → N
natsFrom(N) → cons(N, n__natsFrom(s(N)))
sel(N, XS) → head(afterNth(N, XS))
snd(pair(X, Y)) → Y
splitAt(0, XS) → pair(nil, XS)
splitAt(s(N), cons(X, XS)) → U11(tt, N, X, activate(XS))
tail(cons(N, XS)) → activate(XS)
take(N, XS) → fst(splitAt(N, XS))
natsFrom(X) → n__natsFrom(X)
activate(n__natsFrom(X)) → natsFrom(X)
activate(X) → X
From the DPs we obtained the following set of size-change graphs: